package com.fw.system.admin.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fw.annotation.Excel;
import com.fw.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 规则配置对象 tb_sys_rule
 *
 * @author yanwei
 * @date 2023-04-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_sys_rule")
@ApiModel(value="规则配置", description="规则配置表")
public class TbSysRule implements Serializable
        {
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
        @TableField("id")
    private String id;

    /** 规则值 */
    @ApiModelProperty(value = "${comment}")
            @Excel(name = "规则值")
        @TableField("rule_value")
    private String ruleValue;

    /** 规则名称 */
    @ApiModelProperty(value = "规则值")
            @Excel(name = "规则名称")
        @TableField("rule_key")
    private String ruleKey;

    /** 备用 */
    @ApiModelProperty(value = "规则名称")
            @Excel(name = "备用")
        @TableField("rule_remarks")
    private String ruleRemarks;

    /** 开始时间 */
    @ApiModelProperty(value = "备用")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
        @TableField("start_time")
    private Date startTime;

    /** 结束时间 */
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
        @TableField("end_time")
    private Date endTime;




}
